package com.ironone.streaming.model;

import android.graphics.Bitmap;

/**
 * { This element holds data of each news item in the rss feed }
 * 
 * @Created on Dec 09, 2014
 * @author Helani
 */

public class NewsDataModel {
	/**
	 * 
	 */


	String title;
	String description;
	String link;
	transient Bitmap image;
	boolean isEncoded;

	public NewsDataModel() {
		title = "";
		description = "";
		link = "";
		isEncoded = false;
		image = null;

	}
	
	public NewsDataModel(String title, String description, String link, boolean isEncoded){
		this.title=title;
		this.description=description;
		this.link=link;
		this.isEncoded=isEncoded;
		image = null;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Bitmap getImage() {
		return image;
	}

	public void setImage(Bitmap image) {
		this.image = image;
	}

	public boolean isEncoded() {
		return isEncoded;
	}

	public void setEncoded(boolean isEncoded) {
		this.isEncoded = isEncoded;
	}

}
